﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml.Linq;
using System.Data.SqlClient;
using eschoolBO;

namespace ESCHOOL.Client
{
    public partial class WebForm1 : System.Web.UI.Page
    {
       gallery gal = new gallery();
       album al = new album();
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                DataTable dt = al.GetRecords(-99, "", "", false, " and ");
                DataList1.DataSource = dt;
                DataList1.DataBind();
            }
        }
    }
}
